package sql

import (
	"go.uber.org/fx"
	"mallgo/core"
)

func InitRouter(s *core.AppServer) {
	// 用户路由
	sqlController := NewSqlController()
	s.Engine.POST("/SqlQuery", sqlController.Query)

}

var Module = fx.Options(
	fx.Invoke(
		InitRouter,
	),
)
